<template>
	<div>
		<router-view></router-view>
		<!--悬浮广告 -->
  		<advert-temp :gid='gid'></advert-temp>
	</div>	
</template>
<script>
import advertTemp from '@/components/advert'
export default {
  data() {
    return {
      gid: "",
    };
  },
  components: {
    advertTemp
  },
  methods: {},
  created() {
    this.gid = this.$route.path.split('/')[2];
    console.log( this.gid)
  }
};
</script>
